﻿<UserControl
    x:Class="WinRTXamlToolkit.Sample.Views.CountdownTestView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:controls="using:WinRTXamlToolkit.Controls"
    xmlns:local="using:WinRTXamlToolkit.Sample.Views"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d">

    <Grid>
        <!--<TextBlock
            Text="Note: Positioning glitches showed up in Consumer Preview. They occur less if the RingSlice Path is placed in a Canvas control."
            TextWrapping="Wrap"
            Style="{StaticResource SubheaderTextStyle}" />-->

        <Canvas
            VerticalAlignment="Center"
            HorizontalAlignment="Center">
            <controls:CountdownControl
                x:Name="myCountdownControl"
                Canvas.Left="-50"
                Canvas.Top="-50" />
        </Canvas>
        <!-- TODO: This ProgressRing is a temporary workaround for a Windows bug that prevents Storyboard.Completed events from firing. Remove when not necessary. -->
        <ProgressRing
            IsActive="True"
            VerticalAlignment="Bottom"
            Opacity="0"
            Width="100"
            Height="100" />
    </Grid>
</UserControl>
